﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace EFCore.Models;

[Table("Inlethouse")]
public partial class Inlethouse
{
    [Key]
    [Column("Id_Inlethouse")]
    public Guid IdInlethouse { get; set; }

    /// <summary>
    /// 仓库描述
    /// </summary>
    public string? InlethouseName { get; set; }

    /// <summary>
    /// 参数
    /// </summary>
    [Column("parameter")]
    public string? Parameter { get; set; }

    /// <summary>
    /// 仓库号
    /// </summary>
    public string InlethouseCode { get; set; } = null!;

    /// <summary>
    /// 排
    /// </summary>
    public int Xaxis { get; set; }

    /// <summary>
    /// 高
    /// </summary>
    public int Yaxis { get; set; }

    /// <summary>
    /// 列
    /// </summary>
    public int Zaxis { get; set; }

    public DateTime CreatTime { get; set; }

    public DateTime? UpdateTime { get; set; }

    [InverseProperty("TheInlethouseIdInlethouseNavigation")]
    public virtual ICollection<InlethouseLine> InlethouseLines { get; set; } = new List<InlethouseLine>();
}
